﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IPC.WinForm.BaseForm
{
    public partial class FrmNewGroup : Form
    {
        public string GroupName { get; set; }
        public string GroupGuid { get; set; }
        public FrmNewGroup()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            GroupGuid = Guid.NewGuid().ToString("N");
            GroupName = this.txtGroup.Text;
            this.DialogResult = DialogResult.OK;
        }
    }
}
